<?php
declare(strict_types=1);

namespace App\Resource\LotteryTurntable\App;


use Illuminate\Http\Resources\Json\JsonResource;

class BaseResource extends JsonResource
{
    public function toArray($request): array
    {
        return [
            "id" => $this->id,
            "name" => $this->name,
            "icon" => $this->icon,
        ];
    }
}